/**
 * MineAdmin is committed to providing solutions for quickly building web applications
 * Please view the LICENSE file that was distributed with this source code,
 * For the full copyright and license information.
 * Thank you very much for using MineAdmin.
 *
 * @Author X.Mo<root@imoi.cn>
 * @Link   https://github.com/mineadmin
 */
import type { ResponseStruct } from '#/global'

export interface MenuVo {

}

//保存
export function setMemberDefault(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Genneral/setMemberDefault', data)
}
//li
export function getMyConfigInfo(data: MenuVo): Promise<ResponseStruct> {
    return useHttp().post('/Genneral/getMyConfigInfo', data)
  }
  //保存基本信息
export function indexSetSave(data: MenuVo): Promise<ResponseStruct> {
  return useHttp().post('/Genneral/indexSetSave', data)
}
  //上传图片
  export function uploads(data: MenuVo): Promise<ResponseStruct> {
    return useHttp().post('/Genneral/upload', data)
  }
    //获取基础数据
    export function getIndexSetInfo(data: MenuVo): Promise<ResponseStruct> {
      return useHttp().post('/Genneral/getIndexSetInfo', data)
    }
     //网络图片保存
     export function uploadForHttps(data: MenuVo): Promise<ResponseStruct> {
      return useHttp().post('/Genneral/uploadForHttp', data)
    }
       //保存商品信息
       export function generalGoods(data: MenuVo): Promise<ResponseStruct> {
        return useHttp().post('/Genneral/generalGoods', data)
      }
      //商品基础配置
      export function generalGoodsInfo(data: MenuVo): Promise<ResponseStruct> {
        return useHttp().post('/Genneral/generalGoodsInfo', data)
      }
       //保存游客
       export function generalUserSave(data: MenuVo): Promise<ResponseStruct> {
        return useHttp().post('/Genneral/generalUserSave', data)
      }
       //游客设置
       export function generalUserInfo(data: MenuVo): Promise<ResponseStruct> {
        return useHttp().post('/Genneral/generalUserInfo', data)
      }
       //分享保存
       export function generalShareSave(data: MenuVo): Promise<ResponseStruct> {
        return useHttp().post('/Genneral/generalShareSave', data)
      }
         //分享列表
         export function generalShare(data: MenuVo): Promise<ResponseStruct> {
          return useHttp().post('/Genneral/generalShare', data)
        }
    //其他配置保存
    export function generalOtherSave(data: MenuVo): Promise<ResponseStruct> {
      return useHttp().post('/Genneral/generalOtherSave', data)
    }
    //其他配置列表
    export function generalOtherInfo(data: MenuVo): Promise<ResponseStruct> {
      return useHttp().post('/Genneral/generalOtherInfo', data)
    }
     //获取301可选列表
     export function get301UrlList(data: MenuVo): Promise<ResponseStruct> {
      return useHttp().post('/Genneral/get301UrlList', data)
    }
    //客户信息保存
    export function generalServiceSave(data: MenuVo): Promise<ResponseStruct> {
      return useHttp().post('/Genneral/generalServiceSave', data)
    }
      //客户信息列表
      export function service(data: MenuVo): Promise<ResponseStruct> {
        return useHttp().post('/Genneral/service', data)
      }
        //统计代码保存
        export function ndexJsSetSave(data: MenuVo): Promise<ResponseStruct> {
          return useHttp().post('/Genneral/indexJsSetSave', data)
        }
           //统计代码列表
           export function indexJsSet(data: MenuVo): Promise<ResponseStruct> {
            return useHttp().post('/Genneral/indexJsSet', data)
          }